#ifndef DQUERYPARAMGR_H
#define DQUERYPARAMGR_H

#include "DHeader.h"
#include "DObjectHeader.h"

class DQueryParaMgr
{
public:
    DQueryParaMgr();

    void setHomeworkTypeID(const std::vector<int>& vecHomeworkTypeID)
    {
        m_vecHomeworkTypeID = vecHomeworkTypeID;
    }
    void setStudentID(const std::vector<int>& vecStudentID)
    {
        m_vecStudentID = vecStudentID;
    }

    void setHomeworkStatus(const std::vector<int>& vecStatus)
    {
        m_vecHomeworkStatus = vecStatus;
    }

    void setDate(const QDate& dtStart, const QDate& dtEnd)
    {
        m_dtStart = dtStart;
        m_dtEnd = dtEnd;
    }

    const std::vector<int>& getHomeworkTypeID() const
    {
        return m_vecHomeworkTypeID;
    }

    std::tuple<QDate, QDate> getDate() const
    {
        return std::make_tuple(m_dtStart, m_dtEnd);
    }
    const std::vector<int>& getStudentID() const { return m_vecStudentID; }

    const std::vector<int>& getHomeworkStatus() const
    {
        return m_vecHomeworkStatus;
    }

private:
    QDate m_dtStart;
    QDate m_dtEnd;
    std::vector<int> m_vecStudentID;
    std::vector<int> m_vecHomeworkTypeID;
    std::vector<int> m_vecHomeworkStatus;
};

D_DECLARE_OBJ(DQueryParaMgr, "org.d.DQueryParaMgr")

#endif  // DQUERYPARAMGR_H
